package com.hzy.orderSystem.service.impl;

import com.hzy.orderSystem.dao.RecordDao;
import com.hzy.orderSystem.entities.Record;
import com.hzy.orderSystem.service.RecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 小宝
 * @create 2021/4/17 11:09
 */
@Service
public class RecordServiceImpl implements RecordService {

    @Autowired
    RecordDao recordDao;

    @Override
    public int save(Record record) {
        return recordDao.save(record);
    }

    //@Override
    //public List<Record> getRecordsByOid(Long oid) {
    //    return recordDao.getRecordsByOid(oid);
    //}
}
